package org.zhq.pojo.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "用户对象BO")
public class UserBO {
    @ApiModelProperty(value = "用户名", name = "username", example = "imooc", required = true)
    private String username;
    @ApiModelProperty(value = "密码", name = "password", example = "123456", required = true)
    private String password;
    @ApiModelProperty(value = "用户名", name = "confirmPassword", example = "123456")
    private String confirmPassword;
    @ApiModelProperty(value = "生日", name = "birthday", example = "1900-01-01")
    private String birthday;
    @ApiModelProperty(value = "性别", name = "sex", example = "2")
    private Integer sex;
    @ApiModelProperty(value = "头像", name = "face", example = "http://b-ssl.duitang.com/uploads/item/201802/21/20180221223815_xkkyq.jpg")
    private String face;
}
